package com.danlu.mvc;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

@ApiModel(value = "学生实体类")
public class Student {
	@ApiModelProperty("年龄")
	private Integer age;
	@ApiModelProperty("姓名")
	private String name;

	@ApiModelProperty("主键")
	private Integer id;

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getAge() {
		return age;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getId() {
		return id;
	}
}